" Input: {
(prewrapper_lines) - lines of the environment-setting pre-wrapper
(shell_cmd) - command line to run in the pre-wrapped shell (make sure it is suitably quoted)
(verbose) - set to 'yes' to see the pre_wrapper
}
Output: {
return - return code = 0, if successful
> 0, if error
(error) - error text if return > 0
}
Test:
ck envsecute env @@@"{'prewrapper_lines': ['export ALPHA=alpha','echo 12345']}" --shell_cmd='echo $ALPHA $BETA'
"